const Sequelize = require('sequelize');
const config = require('./config');

const sequelize = new Sequelize(config.sheet, config.database.username, config.database.password, {
  host: 'localhost',
  dialect: 'mysql',
  timezone: '+08:00'
});

module.exports = sequelize;